<?php

namespace App\Http\Controllers\Home\Article;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;

class CategoryController extends Controller
{
    //
    public function gets(){
        $ret=DB::table('category')->where('status','=',1)->get();
        return  $this->ajax(true,$ret);
    }

}
